﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using GameSimulator.Model;
using GameSimulator.pages;
using System.IO.IsolatedStorage;


namespace GameSimulator
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Game cuteBallGame = new Game();
            if (MessageBox.Show("Do you want play Game", "Cute Ball", MessageBoxButton.OKCancel)== MessageBoxResult.OK)
            this.Content = new playGame(1, 1, 1);
            //this.NavigationService.Navigate(new Uri("/pages/playGame.xaml", UriKind.Relative));
            
        }
    }
}